Spring Initializer no longer supports Java8, that is, SpringBoot2.x project initialization
Spring Initializer no longer supports Java8
Problem Description
We can see that the Java version selection module in IDEA's built-in Spring Initializer no longer supports 1.8. Similarly, the official website no longer supports it.
solution
Upgrade java version
Spring Boot 3.x requires a minimum Java version of 17, and the latest SpringBoot version already requires Java21. Therefore, you can upgrade the Java version and use SpringBoot3.X
You might as well click on version 3.0 to take a look
Spring Boot 3.0 requires Java 17 as a minimum version. If you are currently using Java 8 or Java 11, you'll need to upgrade your JDK before you can develop Spring Boot 3.0 applications. Spring Boot 3.0 also works well, and has been tested with JDK 19.
Server URLReplace the mirror address in IDEA's built-in Spring Initializer
If you really use SpringBoot2.X version, you can change the mirror address.
Mirror address:
https://start.aliyun.com/
The operation is as follows.
At this time we can see that the Java8 version is selected.